package com.seven.multiple.datasource.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author QH
 * @date 2019/9/9
 * @description
 */
@ConfigurationProperties(prefix = "spring.datasource.druid")
@Data
public class MyDruidDataSourceProperties {

    private String driverClassName;
    private int initialSize;
    private int maxActive;
    private int minIdle;
    private long maxWait;
}
